if(NOT DEFINED evauth_LIBS)
    if(NOT DEFINED evauth_DIR)
        include(FetchContent)
        message(STATUS "evauth_GIT_BRANCH:${evauth_GIT_BRANCH}")
        FetchContent_Declare(
            evauth
            GIT_REPOSITORY https://gitee.com/cvmart/libevauth.git
            GIT_TAG        origin/${evauth_GIT_BRANCH}
        )
        FetchContent_MakeAvailable(evauth)
        FetchContent_GetProperties(evauth)
        set(evauth_DIR ${evauth_SOURCE_DIR})
    endif()    
    file(GLOB evauth_LIBS ${evauth_DIR}/lib/*.so)
    set(evauth_INCLUDE_DIRS ${evauth_DIR}/include)
    set(evauth_CONFIG_DIR ${evauth_DIR}/configs/)
endif()